#ifndef DISPLAYRBJ_H_
#define DISPLAYRBJ_H_

#include <string>
#include <sstream>
#include <vector>
#include <iostream>
#include <iomanip>
#include <algorithm>
#include "Store_menu.h"

using namespace std;
using namespace Store;

//RBJ display class, part B1 --> show cart with biggest checkout total
class DisplayRBJ
{
public:
	DisplayRBJ(void);
	~DisplayRBJ(void);
	static string display(Store_menu m);
};

//RBJ, new struct specially written for sorting total checkouts
struct CartTotal
{
private:
	Cart cart;
	float total;
public:
	// constructors
	CartTotal () {}
	CartTotal (Cart c, float t)
		: cart(c), total(t) {}
	float getTotal();
	Cart getCart();
};

#endif